package com.yyy.gui.pannel;

import com.yyy.gui.listener.BackupListener;
import com.yyy.util.ColorUtil;
import com.yyy.util.GUIUtil;

import javax.swing.*;

/**
 * @Author：yyy
 * @Package：com.yyy.gui.pannel
 * @Project：HuTuBiill
 * @name：BackUpPannel
 * @Date：2024/11/9 22:32
 * @Filename：BackUpPannel
 */
public class BackUpPannel extends WorkingPanel{
    public static BackUpPannel instance=new BackUpPannel();
    public JButton bBackup=new JButton("备份");

    public BackUpPannel(){
        GUIUtil.setColor(ColorUtil.blueColor,bBackup);
        this.add(bBackup);
        addListener();
    }

    @Override
    public void addListener() {
        BackupListener backupListener=new BackupListener();
        bBackup.addActionListener(backupListener);

    }

    @Override
    public void updateData() {

    }
}
